package io.forlove.myrtle.event;

import lombok.Data;
import org.springframework.context.ApplicationEvent;

import java.io.File;

public class FileEvent extends ApplicationEvent {

    protected File file;

    public FileEvent(Object source, File file) {
        super(source);
        this.file =file;
    }

    public File getPath() {
        return file;
    }
}
